// 状态列表
const STATE_OPTIONS = [
  {
    label: '未提交',
    value: 'NOT'
  },
  {
    label: '审核中',
    value: 'COMMIT'
  },
  {
    label: '审核通过',
    value: 'OK'
  },
  {
    label: '审核未通过',
    value: 'FAIL'
  },
]
// 初始化查询条件
export const FORM_ITEM = [
  {
    prop: 'recordNo',
    label: '单据号',
    type: 'input',
  },
  {
    prop: 'commitState',
    label: '审核状态',
    type: 'select',
    options: STATE_OPTIONS
  },
  {
    prop: 'pusherName',
    label: '提交人',
    type: 'input'
  },
  {
    prop: 'pusherDeptName',
    label: '提交部门',
    type: 'input'
  }
]

// 列表表头
export const TABLE_COLUMNS = [
  {
    title: '单据号',
    key: 'recordNo',
  },
  {
    title: '提交人',
    key: 'pusherName',
  },
  {
    title: '提交部门',
    key: 'pusherDeptName',
  },
  {
    title: '提交时间',
    key: 'pushTime',
  },
  {
    title: '单据状态',
    key: 'commitStateStr'
  }
]
